package thread;

class My_Runnable implements Runnable{
    @Override
    public void run() {
        System.out.println("hello,Thread");
    }
}

public class Demo13 {

    public static void main(String[] args) {
        My_Thread my_thread = new My_Thread();
        Thread t = new Thread(my_thread);

        t.start();
        System.out.println("hello,main");

    }

}
